<template>
	<view>
		{{orderId}}
	</view>
</template>

<script>
	const orderObject = uniCloud.importObject('orderlist')
	export default {
		data() {
			return {
				orderId: 'test1696433649968-1'
			}
		},
		onLoad(options) {
			// this.orderId = options.id
			this.getOrderDetail()
		},
		methods: {
			async getOrderDetail() {
				let result = orderObject.searchData(this.orderId)
				console.log(result)
			}
		}
	}
</script>

<style>

</style>
